<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .contain {
      position: relative;
      /* height: 0.5px;
      width: 200px;
      background: black; */
    }
    .contain::after {
      position: absolute;
      top: 0;
      left: 0;
      width: 200%;
      height: 1px;
      content: '';
      transform: scale(0.5);
      transform-origin: left top;
      box-sizing: border-box;
      border: 1px solid #000;
    }
  </style>
</head>
<body>
  <div class="contain"></div>
  <script>
    const a = {
      a: 1
    }
    function Abb(data) {
      // this.obj = data
      // this.changeA = (value) => {
      //   this.obj.a = value
      // }
      this.obj
    }
    const a1 = new Abb({abb: a})
    const a2 = new Abb({abb: a})
    // a1.changeA(2)
    console.log(a1);

  </script>
</body>
</html>